package com.example.demo.domain;


import javax.validation.constraints.NotBlank;


import lombok.Data;

@Data
public class Person {
	  @NotBlank(message="Name is required")
	  private String name;
	  @NotBlank(message="number is required")
	  private String number;
	  @NotBlank(message="year is required")
	  private String year;
	  @NotBlank(message="major is required")
	  private String major;
	  @NotBlank(message="college code is required")
	  private String college;
}
